package org.gd.hellojaxb.privat24.calendar;

import javax.xml.bind.annotation.*;

@XmlEnum
public enum CalendarState {
    @XmlEnumValue("success") SUCCESS("", "success"),
    @XmlEnumValue("fail") FAIL("fail", "fail");

    private String state;
    private String message;

    private CalendarState(String message, String state) {
        this.message = message;
        this.state = state;
    }

    public String getMessage() {
        return message;
    }

    public String getState() {
        return state;
    }
}
